<?php
/**
 * ブログ記事一つを表すモデル
 *
 * @group model
 */
class Yaku extends DataModel
{
    protected $_schema = array(
        'yaku_id'       => parent::INTEGER,
        'link_id'       => parent::INTEGER,
        'name'          => parent::TEXT,
        'sort'          => parent::INTEGER,
        'slug'          => parent::TEXT,
        'note'          => parent::TEXT,
        'editor_note'   => parent::TEXT,
        'update_date'   => parent::DATETIME,
        'publish_date'  => parent::DATETIME,
        
    );

    function isValid(Array $error = null)
    {
        return $error;
    }
}
